package com.pozu.new_retail.service;

import java.util.HashMap;
import java.util.List;

import com.pozu.new_retail.dao.model.User;
import com.pozu.new_retail.dao.vo.BriefUserVo;
import com.pozu.new_retail.dao.vo.UserVo;

public interface UserService {
	
	public UserVo queryByPhone(String phone);
	
	public User queryByUserId(long userId);

	public User queryByOpenId(String openId);
	
	public int saveUser(User user);
	
	public int updateUser(User user);
	
	public List<BriefUserVo> queryUsersByMap(HashMap<String, Object> map);
	
}
